<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport"
          content="initial-scale=1.0,width=device-width,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <title>封面</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/main.css}">
    <script type="text/javascript" th:src="@{/js/rem_layout.js}"></script>
    <script type="text/javascript" th:src="@{/js/jquery.min.js}"></script>
</head>
<body>
<div class="cover" id="cover">
    <img th:src="@{/img/top-img.png}" alt="" class="top">
    <img th:src="@{/img/logo-img.png}" alt="" class="logo">
    <div class="bottom"></div>
</div>
<script th:inline="javascript">

    var pId = [[${pId}]];
    var prefix = "/process/project/scanCode";

    $("#cover").on("click", function () {
        var url = prefix + '/projectInfo/' + pId;
        window.open(url, "_self");
    });

</script>
</body>
</html>